package com.sc.syllabus.decoration;

import android.content.Context;

import com.sc.syllabus.decoration.bean.HouseDecorationBean;
import com.sc.syllabus.utils.ConfigConstant;
import com.srain.utils.db.DataModelImpl;

/**
 * Created by liushuanglong on 2017/9/20.
 */

public class DecorationModelImpl extends DataModelImpl {

    private static DecorationModelImpl mModel;

    public DecorationModelImpl(Context context) {
        super(context, HouseDecorationBean.class, ConfigConstant.DB_NAME);
    }

    public static DecorationModelImpl getInstance(Context context) {
        if (null == mModel) {
            mModel = new DecorationModelImpl(context);
        }
        return mModel;
    }
}
